Description

ProModel calls this subroutine automatically whenever you call any of the predefined subroutines that affect the tank level. If you change the value of the Tank_Level directly, call the Tank_UpdateStats subroutine afterward. This subroutine updates the current statistics on the tank and sets the state to Tank_Filling (if filling), Tank_Emptying (if emptying), Tank_Blocked (if full), or Tank_Idle (if empty).

You should not need to use this subroutine unless you defined a customized Tank_Empty, Tank_Fill, or Tank_Transfer subroutine.

Components

<Tank ID>

The tank name or location index number.